export default [
  {
    path: "/home",
    meta: { title: "主页", icon: "icon-zhuye" },
  },
  {
    path: "/user",
    // meta: { title: '用户管理', icon: 'icon-yonghuguanli' },
    meta: { title: "列表1", icon: "icon-yonghuguanli" },
    children: [
      {
        path: "/user/list",
        // meta: { title: '账号管理', icon: 'icon-test-case-group' },
        meta: { title: "列表1.1", icon: "icon-test-case-group", keepAlive: true }, // keepAlive为true表示页面状态保持
      },
      {
        path: '/user/list/detail',
        meta: { title: '列表1.1 / 详情', isDisplay: false }, // isDisplay为true表示不展示在导航栏中
      },
    ],
  },
  {
    path: "/study",
    // meta: { title: '学习管理', icon: 'icon-test-case-group' },
    meta: { title: "列表2", icon: "icon-test-case-group" },
    children: [
      {
        path: "/study/type",
        // meta: { title: '学习类型', icon: 'icon-test-case-group' },
        meta: { title: "列表2.1", icon: "icon-test-case-group" },
      },
      {
        path: "/study/time",
        // meta: { title: '学习时间', icon: 'icon-test-case-group' },
        meta: { title: "列表2.2", icon: "icon-test-case-group" },
      },
    ],
  },
];
